﻿/////////////////////////////////////////////////////////////////////////////////////////////
// <copyright file="MailBoxPolicies.cs" company="Microsoft Corporation">
//     Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
/////////////////////////////////////////////////////////////////////////////////////////////

namespace Microsoft.LiveAtEdu.Samples.Powershell.OutlookLive
{
    /// <summary>
    /// Data contract for holding mailbox policy.
    /// </summary>
    public class MailBoxPolicies
    {
        /// <summary>
        /// Initializes a new instance of the MailBoxPolicies class.
        /// </summary>
        /// <param name="isInstantMessagingEnabled">Specifies whether instant messaging enabled/disabled</param>
        /// <param name="isTextMessagingEnabled">Specified whether text messaging enable/disabled</param>
        public MailBoxPolicies(bool isInstantMessagingEnabled, bool isTextMessagingEnabled)
        {
            this.IsInstantMessagingEnabled = isInstantMessagingEnabled;
            this.IsTextMessagingEnabled = isTextMessagingEnabled;
        }

        /// <summary>
        /// Gets a value indicating whether instant messaging enabled/disabled.
        /// </summary>
        public bool IsInstantMessagingEnabled { get; private set; }

        /// <summary>
        /// Gets a value indicating whether text messaging enable/disabled
        /// </summary>
        public bool IsTextMessagingEnabled { get; private set; }
    }
}
